package suncertify.application.exceptions;

import suncertify.application.ApplicationMode;

/**
 * Thrown when the client application running in {@link ApplicationMode#NETWORK_CLIENT} fails to connect to the server
 * application. Possible reasons are wrong server name or port number, the server application is not started.
 * 
 */
public class ServerClientException extends Exception {

    /**
     * Automatic generated serialization version ID.
     */
    private static final long serialVersionUID = -1791626545153602705L;

    /**
     * Constructs a <code>ServerClientException</code> with the specified message and cause.
     * 
     * @param message
     *            The detail message (which is saved for later retrieval by the {@link #getMessage()} method)
     * 
     * @param cause
     *            The cause (which is saved for later retrieval by the {@link #getCause()} method). (A null value is
     *            permitted, and indicates that the cause is nonexistent or unknown.)
     */

    public ServerClientException(String message, Throwable cause) {
	super(message, cause);
    }
}
